package com.agrec.client.services;

import java.util.List;

import com.agrec.client.AGRecException;
import com.agrec.client.UserToken;
import com.agrec.client.actors.CitiesNames;
import com.agrec.client.actors.CompaniesNames;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {
	String greetServer(String name);
	UserToken login(String userName, String password) throws AGRecException, Exception;
	
}
